<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//Dtd XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<title>药典管理-处方明细</title>
		<link type="text/css" rel="stylesheet"
			href="${pageContext.request.contextPath}/drugUI/css/style.css" />
		<link type="text/css" rel="stylesheet"
			href="${pageContext.request.contextPath}/drugUI/css/main.css" />
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/drugUI/js/util.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/drugUI/js/jquery1.4.2.min.js"></script>
	</head>
	<div id="container">
		<form name="Form1" method="post" id="Form1">
			<!--查询栏 开始-->
			<div class="current">
				<div class="current_con">
					<div class="help">
						<a href="#"><img
								src="${pageContext.request.contextPath}/drugUI/image/help.gif"
								title="帮助"
								onclick="showLayer('C5','${pageContext.request.contextPath}')" />
						</a>
					</div>
					<span>_当前位置：</span> 药典管理 >>处方明细
				</div>
			</div>
			<table class="table02" id="Table1" align="center" width="95%">
				<tr>
					<td class="td_bottom" align="center" colSpan="6">
						<input type="button" name="btnSearch" value="生成处方"
							onClick="javascript:generateRecipe();" id="btnSearch"
							class="btn02" />
					</td>
				</tr>
			</table>
			<!--列表输出-->
			<div id="content">
				<div id="tabContainer">
					<!--列表输出表头-->
					<div id="tabTitle">
						<table width="100%" class="table01" align="center" cellspacing="0">
							<tr align="center" class="tr_title">
								<td width="20%">
									药品名称
								</td>
								<td width="15%">
									剂量
								</td>
								<td width="15%">
									单位
								</td>
								<td width="15%">
									频次
								</td>
								<td width="15%">
									天数
								</td>
								<td width="20%">
									建议
								</td>
							</tr>
						</table>
					</div>
					<!--列表输出各行数据-->
					<div id="tabLines">
						<table width="100%" class="table01" align="center" cellspacing="0"
							style="TABLE-LAYOUT: fixed; word-break: break-all">
							<tbody id="__list">
								<c:forEach items="${drugList.statisticsList}" var="s"
									varStatus="i">
									<tr <c:if test="${i.index%2==0}"> class = 'tr_1'</c:if>
										<c:if test="${i.index%2==1}"> class = 'tr_2'</c:if>>
										<td width="20%">
											${s.drugname}
										</td>
										<td width="15%">
											<input type="text"  name="dosage" style="width: 80%;" value=""/>
										</td>
										<td width="15%">
									    <select name="unit"  STYLE="width: 150px">
									        <option value="g">g</option>
									        <option value="mg">mg</option>
									        <option value="li">粒</option>
										  </select>
										</td>
										<td width="15%">
											<select name="frequency"  STYLE="width: 150px">
									        <option value="0">1天/次</option>
									        <option value="1">1天/2次</option>
									        <option value="2">2天/次</option>
										  </select>
										</td>
										<td width="15%">
											<input type="text"  name="days" style="width: 80%;" value=""/>天
										</td>
										<td width="20%">
											<input type="text"  name="tips" style="width: 80%;" value=""/>
										</td>
									</tr>
								</c:forEach>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</form>
	</div>
	</body>
</html>
<%@ include file="/drugUI/common/footer.jsp"%>